package cn.supermaster.management.finance.service;

import cn.supermaster.management.common.page.TableDataInfo;
import cn.supermaster.management.common.response.WebResponse;
import cn.supermaster.management.finance.domain.FinanceAccount;

/**
 * All rights Reserved, Designed By www.super-master.cn
 *
 * @ProjectName: supermaster-management
 * @Package: cn.supermaster.management.finance.service
 * @ClassName: IFinanceAccountService
 * @Description: []
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2021/2/21 20:14
 * @Version: V1.0
 * @Copyright: 2021 www.super-master.cn Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
public interface IFinanceAccountService {
    /**
     * @Description: [新增，插入所有字段]
     * <p></P>
     * @Title: addFinanceAccount
     * @Author: Lance Ting
     * @Date: 2021-02-21
     * @Param: account 新增的记录
     * @Return: com.superbytecode.builder.main.response.WebResult 返回结果
     */
    WebResponse addFinanceAccount(FinanceAccount account);

    /**
     * @Description: [删除记录（逻辑删除）]
     * <p></P>
     * @Title: remove
     * @Author: Lance Ting
     * @Date: 2021-02-21
     * @Param: financeAccount 删除的记录id
     * @Return: com.superbytecode.builder.main.response.WebResult 返回结果
     */
    WebResponse removeFinanceAccount(Long accountId);

    /**
     * @Description: [修改，修改所有字段]
     * <p></P>
     * @Title: modifyFinanceAccount
     * @Author: Lance Ting
     * @Date: 2021-02-21
     * @Param: account 修改的记录id
     * @Return: com.superbytecode.builder.main.response.WebResult 返回结果
     */
    WebResponse modifyFinanceAccount(FinanceAccount account);

    /**
     * @Description: [根据主键查询]
     * <p></P>
     * @Title: queryFinanceAccountById
     * @Author: Lance Ting
     * @Date: 2021-02-21
     * @Param: financeAccount 主键
     * @Return: com.superbytecode.builder.main.response.WebResult 返回结果
     */
    WebResponse queryFinanceAccountById(Long accountId);

    /**
     * @Description: [根据主键查询]
     * <p></P>
     * @Title: queryFinanceAccountListByCondition
     * @Author: Lance Ting
     * @Date: 2021-02-21
     * @Param: account 主键
     * @Return: com.superbytecode.builder.main.response.WebResult 返回结果
     */
    TableDataInfo queryFinanceAccountListByCondition(FinanceAccount account);
}